package com.example.prison.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 *
 * @TableName alarm_record
 */
@TableName(value ="alarm_record")
@Data
public class AlarmRecord implements Serializable {
    /**
     * ID
     */
    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 防区段编号
     */
    @ApiModelProperty(value = "防区段编号")
    @TableField(value = "number")
    private String number;

    /**
     * 报警时间
     */
    @ApiModelProperty(value = "报警时间")
    @TableField(value = "time")
    private String time;

    /**
     * 报警等级
     */
    @ApiModelProperty(value = "报警等级")
    @TableField(value = "level")
    private String level;

    /**
     * 是否处理（未处理/已处理/已推送）
     */
    @ApiModelProperty(value = "是否处理（未处理/已处理/已推送）")
    @TableField(value = "solve")
    private String solve;

    /**
     * 值班人员
     */
    @ApiModelProperty(value = "值班人员")
    @TableField(value = "duty_people")
    private String dutyPeople;

    /**
     * 受理人
     */
    @ApiModelProperty(value = "受理人")
    @TableField(value = "process_people")
    private String processPeople;

    /**
     * 处理时间
     */
    @ApiModelProperty(value = "处理时间")
    @TableField(value = "process_time")
    private String processTime;

    /**
     * 报警设备编号
     */
    @TableField(value = "device")
    private String device;

    /**
     * 标记ID
     */
    @ApiModelProperty("标记ID")
    @TableField(value = "mark_id")
    private String MarkId;

    @ApiModelProperty(value = "高压A实时状态")
    @TableField(value = "statusA")
    private String statusA;

    @ApiModelProperty(value = "高压B实时状态")
    @TableField(value = "statusB")
    private String statusB;

    @ApiModelProperty(value = "高压C实时状态")
    @TableField(value = "statusC")
    private String statusC;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
